/* 医生列表页面样式 */
.doctor-list-container {
  min-height: 100vh;
  background-color: #f5f5f5;
}

/* 头部导航栏 */
.header-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.custom-navbar {
  --height: 44px;
  --border-bottom: none;
  --background-color: #fff;
  --title-font-size: 16px;
  --title-font-weight: 600;
}

/* 搜索栏 */
.search-section {
  background-color: #fff;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.search-section .adm-search-bar {
  --border-radius: 12px;
  --background-color: #f8f9fa;
  --height: 44px;
}

.search-section .adm-search-bar-input {
  font-size: 14px;
}

/* 热门科室 */
.departments-section {
  background-color: #fff;
  padding: 16px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.department-item {
  background-color: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 8px 12px;
  text-align: center;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.department-item:hover {
  background-color: #e6f7ff;
  border-color: #1890ff;
  color: #1890ff;
}

.department-item.active {
  background-color: #1890ff;
  border-color: #1890ff;
  color: #fff;
}

/* 筛选选项 */
.filter-section {
  background-color: #fff;
  padding: 12px 16px;
  display: flex;
  gap: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.filter-item .arrow {
  font-size: 10px;
  color: #999;
}

/* 医生列表区域 */
.doctor-list-section {
  background-color: #fff;
  margin-top: 8px;
}

/* 顶部栏：左侧科室，右侧月份 */
.schedule-topbar{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #f0f0f0}
.sched-dept{font-size:16px;font-weight:700;color:#111827}
.sched-month{display:flex;align-items:center;gap:8px;color:#374151}
.cal-icon{font-size:16px}

/* 日期选择条：横向滚动胶囊 */
.schedule-bar{display:flex;gap:12px;padding:12px 16px;border-bottom:1px solid #f0f0f0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.schedule-item{min-width:68px;background:#f5f7ff;border-radius:12px;text-align:center;color:#6b7280;padding:8px 10px;flex-shrink:0}
.schedule-item.active{background:#2563eb;color:#fff}
.schedule-top{font-weight:700;font-size:14px;line-height:16px}
.schedule-sub{font-size:12px;opacity:.9;margin-top:4px}

/* 排序标签 */
.sort-tabs {
  border-bottom: 1px solid #f0f0f0;
}

.sort-tabs .adm-tabs-header {
  --active-title-color: #1890ff;
  --active-line-color: #1890ff;
  --title-font-size: 14px;
}

.sort-tabs .adm-tabs-tab {
  padding: 12px 16px;
}

/* 医生列表内容 */
.doctor-list-content {
  padding: 12px;
}

/* 医生列表 */
.doctor-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 医生卡片 */
.doctor-card {
  background-color: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.doctor-card:hover {
  border-color: #1890ff;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.1);
}

/* 医生头像 */
.doctor-avatar {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 医生信息 */
.doctor-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 医生头部信息 */
.doctor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.doctor-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.doctor-price {
  font-size: 16px;
  font-weight: 600;
  color: #ff6b6b;
}

/* 医生职称和医院 */
.doctor-title-hospital {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

/* 医生统计信息 */
.doctor-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #999;
}

.praise-rate {
  color: #52c41a;
}

.service-count {
  color: #1890ff;
}

/* 医生操作按钮 */
.doctor-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.doctor-actions .adm-button {
  height: 32px;
  font-size: 12px;
  padding: 0 16px;
}

/* 空状态 */
.doctor-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #fff;
  border-radius: 8px;
}

.doctor-empty p {
  font-size: 14px;
  color: #999;
  margin-top: 12px;
}

/* 下拉加载样式 */
.loading-more {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  gap: 8px;
  color: #999;
  font-size: 14px;
}

.loading-more .adm-spin-loading {
  font-size: 16px;
}

.no-more {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  color: #999;
  font-size: 14px;
}

/* 无限滚动容器 */
.doctor-list-content .adm-infinite-scroll {
  margin-top: 12px;
}

/* 加载状态 */
.doctor-list-loading {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.doctor-list-loading p {
  margin-top: 16px;
  font-size: 14px;
  color: #999;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .departments-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  
  .department-item {
    padding: 6px 8px;
    font-size: 11px;
  }
  
  .filter-section {
    padding: 10px 12px;
    gap: 12px;
  }
  
  .doctor-list-content {
    padding: 8px;
  }
  
  .doctor-card {
    padding: 12px;
    gap: 10px;
  }
  
  .doctor-avatar {
    width: 50px;
    height: 50px;
  }
  
  .doctor-name {
    font-size: 15px;
  }
  
  .doctor-price {
    font-size: 15px;
  }
  
  .doctor-title-hospital {
    font-size: 13px;
  }
  
  .doctor-actions .adm-button {
    height: 28px;
    font-size: 11px;
    padding: 0 12px;
  }
  
  .loading-more,
  .no-more {
    padding: 16px 0;
    font-size: 13px;
  }
}
